package util

import (
	"github.com/gin-gonic/gin"
)

func SuccessResponse(body interface{}) gin.H {
	return gin.H{
		"code":    200,
		"message": "success",
		"body":    body,
	}
}

func FailResponse(code int, message string) gin.H {
	return gin.H{
		"code":    code,
		"message": message,
	}
}
